package cn.gov.escience.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.gov.escience.model.Project;
import cn.gov.escience.service.ProjectService;
import cn.gov.escience.solr.repository.ProjectRepository;

@Service
public class ProjectServiceImpl implements ProjectService {
	@Autowired
	private ProjectRepository projectRepository;

	@Override
	public List<Project> findByAnyword(String anyword) {
		// TODO Auto-generated method stub
		return projectRepository.findByAnyword(anyword);
	}

}
